package com.example.bookmall.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("after_sales_record")
public class Aftersales {
    //售后表id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //订单id
    private String orderId;
    //用户id
    private Integer userId;

    //申请原因
    private String Reason;
    //管理员是否同意  1:同意 0:拒绝
    private Integer adminAgreement;
    //管理员理由
    private String adminReason;

    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    //更新时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime updateTime;
}
